﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using QLTV_Public;
using QLTV_Data;

namespace QLTV_BLL
{
  public  class NhomNguoiDung_BLL
    {
      NhomNguoiDung_Data nhom = new NhomNguoiDung_Data();
      public DataTable LayDuLieu()
      {
          return nhom.layDuLieu();
      }
      public DataTable TaoBang(string sql)
      {
          return nhom.TaoBang(sql);
      }
      public int insert_NhomNguoiDung(NhomNguoiDung_Public tenNhom, NhomNguoiDung_Public maQuyen, NhomNguoiDung_Public ghiChu)
      {
          return nhom.Insert_NhomNguoiDung(tenNhom, maQuyen, ghiChu);
      }
      public int update_NhomNguoiDung(NhomNguoiDung_Public maNhom, NhomNguoiDung_Public tenNhom, NhomNguoiDung_Public maQuyen, NhomNguoiDung_Public ghiChu)
      {
          return nhom.Update_NhomNguoiDung(maNhom,tenNhom,maQuyen,ghiChu);
      }
      public int delete_NhomNguoiDung(NhomNguoiDung_Public maNhom)
      {
          return nhom.Delete_NhomNguoiDung(maNhom);
      }
    }
}
